const initState = {
  num:666
}
export default (state = initState, action) => {
  console.log(state, action);
  switch (action.type) {
    case 'add':
      state.num=state.num + action.payload.step
      break;
  }
  return state;
}